package com.example.springbootbook.mapper;

import com.example.springbootbook.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from user_info where user_name=#{username}")
    UserInfo getUser(UserInfo userInfo);
}
